package com.pp.product;

import com.pp.common.constant.BasePackagesConsts;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringCloudApplication
@MapperScan(BasePackagesConsts.MAPPERPATH)
@ComponentScan(value = {BasePackagesConsts.COMPONENTSCAN})
public class ProductApplication {

	public static void main(String[] args) {
		SpringApplication.run(ProductApplication.class, args);
	}

}
